What is the output of the code shown below? def mk(x): def mk1(): print("Decorated") x() return mk1 def mk2(): print("Ordinary") p = mk(mk2) p()
1.DecoratedDecorated
2.OrdinaryOrdinary
3.OrdinaryDecorated
4. DecoratedOrdinary
Posted Date:-2022-02-11 11:41:02